package com.hoshiibuy.organization.entity.param;

import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NonNull;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
* <p>
* 新增机构表参数
* </p>
*
* @author campchen
* @since 2019-04-28
*/

@Data
@ApiModel(value="新增机构表", description="新增机构表")
public class ComOrganizationAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    @NonNull
    private Long companyId;
    
    @ApiModelProperty(value = "负责部门ID")
    private Long departmentId;
    
    @ApiModelProperty(value = "采购商类型（来源于采购商类型）来源 organization_type")
    @NonNull
    private Long type;
    
    @ApiModelProperty(value = "采购商名称")
    @NonNull
    private String name;
    
    @ApiModelProperty(value = "系统密码")
    private String password;
    
    @ApiModelProperty(value = "负责人")
    @NonNull
    private String charge;
    
    @ApiModelProperty(value = "身份证号码")
    @NonNull
    private String idCard;
    
    @ApiModelProperty(value = "对公帐号")
    @NonNull
    private String bankNumber;
    
    @ApiModelProperty(value = "银行名称")
    @NonNull
    private String bankName;
    
    @ApiModelProperty(value = "所在支行")
    @NonNull
    private String bankAddress;
    
    @ApiModelProperty(value = "税务登记号")
    private String taxation;
    
    @ApiModelProperty(value = "开票号")
    private String piaohao;
    
    @ApiModelProperty(value = "发货地址")
    private String goodsAddress;
    
    @ApiModelProperty(value = "仓库地址")
    private String whouseAddress;
    
    @ApiModelProperty(value = "结算方式-settlement")
    private Long paymentId;
    
    @ApiModelProperty(value = "电话号码")
    private String telphone;
    
    @ApiModelProperty(value = "手机号码")
    private String mobile;
    
    @ApiModelProperty(value = "传真")
    private String fax;
    
    @ApiModelProperty(value = "主页")
    private String home;
    
    @ApiModelProperty(value = "邮件")
    private String email;
    
    @ApiModelProperty(value = "公司地址")
    private String address;
    
    
    
    
    
    @ApiModelProperty(value = "状态 0-未审批 1-已审批 2-已终止合作")
    private Integer status;
    

}
